import { createRouter, createWebHistory, RouteRecordRaw} from "vue-router";
const routes:Array<RouteRecordRaw>=[
    {
        path:"/",
        component:()=>import('../components/Deom3.vue')
    },
    {
        path:"/add",
        component:()=>import('../components/Demo1.vue')
    },
    {
        path:"/deng",
        component:()=>import('../components/Demo2.vue')
    },
    {
        path:"/a",
        component:()=>import('../components/HelloWorld.vue')
    }
    
]

const rout=createRouter({
    history:createWebHistory(),
    routes
})
export default rout;